#!/bin/bash
# 安装支持https.CA证书认证
# 安装php7.3
if [ !  which php 2>/dev/null  ]; then
sudo apt -y install software-properties-common apt-transport-https lsb-release ca-certificates
sudo add-apt-repository ppa:ondrej/php
sudo apt update
apt install php7.3 php7.3-fpm -y
apt install php-mbstring php-mysql php-xml php-zip -y
    echo "php 不存在"
fi